package com.ruoyi.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @program: ruoyi
 * @description: 手机抄表通用常量
 * @author: Chenhenan
 * @create: 2021-08-20 10:21
 **/
public class CbConstans {


    /**
     * 查询类别 1全部 2已抄 3未抄
     */
    public static final String TYPE_ALL = "1";
    public static final String TYPE_FINISH = "2";
    public static final String TYPE_ONHAND = "3";


    /**
     * 总分表 2总表 3分表
     */
    public static final String NO_TABLE = "0";
    public static final String MAIN_TABLE = "2";
    public static final String BRANCH_TABLE = "3";

    /**
     * 合收表标识
     */
    public static final String HS_TABLE = "Y";


    /**
     * 抄见标志
     */
    public static final String mrreadok_Y = "Y";//已审核
    public static final String mrreadok_N = "N";//未处理
    public static final String mrreadok_X = "X";//待审核
    public static final String mrreadok_U = "U";//未通过



  /*  public static final String BK_01 = "01";//正常
    public static final String BK_02 = "03";//本次同上次
    public static final String BK_03 = "03";//长期无人
    public static final String BK_04 = "03";//停业
    public static final String BK_05 = "03";//闭栓
    public static final String BK_06 = "03";//不用水
    public static final String BK_07 = "02";//表停
    public static final String BK_08 = "02";//无表计量
    public static final String BK_09 = "02";//倒表
    public static final String BK_10 = "02";//表锈
    public static final String BK_11 = "02";//表失灵
    public static final String BK_12 = "02";//水表自转
    //public static final String BK_14 = "03";//无表 （不要了）*/

    /**
     * 表况细分
     */
    public static final Map<String,String> BK_XF = new HashMap<String,String>(){
        {
            put("BK_01","01");//正常
            put("BK_02","03");//本次同上次
            put("BK_03","03");//长期无人
            put("BK_04","03");//停业
            put("BK_05","03");//闭栓
            put("BK_06","03");//不用水
            put("BK_07","02");//表停
            put("BK_08","02");//无表计量
            put("BK_09","02");//倒表
            put("BK_10","02");//表锈
            put("BK_11","02");//表失灵
            put("BK_12","02");//水表自转
        }
    };


    /**
     * 表况总分
     */
    public static final String BK_Z01 = "01";//正常
    public static final String BK_Z02 = "02";//表异常
    public static final String BK_Z03 = "03";//零水量

}
